package com.kashow.bean.setting;

import com.chad.library.adapter.base.entity.MultiItemEntity;

/**
 * Created by cg on 16/12/1.
 */

public class SettingItem implements MultiItemEntity{
    private String title;
    private  String message;
    private int type;
    private boolean hasDiv;

    public SettingItem(String title, String message, int type, boolean hasDiv) {
        this.title = title;
        this.message = message;
        this.type = type;
        this.hasDiv = hasDiv;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public boolean isHasDiv() {
        return hasDiv;
    }

    public void setHasDiv(boolean hasDiv) {
        this.hasDiv = hasDiv;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    @Override
    public int getItemType() {
        return type;
    }
}
